<html>
<head>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.dumpChildFrames();
}

function runTests() {
    alert("PASS (1 of 3)");
    var f = document.getElementById('theframe');
    f.parentNode.removeChild(f);
    alert("PASS (2 of 3)");
}
</script>
</head>
<body onload="runTests()">
<iframe id="theframe" src="data:text/html,FAIL"></iframe>
<div>
PASS (3 of 3)
</div>
</body>
</html>
